<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/moment.js/2.29.1/moment.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/moment.js/2.29.1/locale/zh-cn.min.js"></script>
    <style>
        *,ol,li{
            margin: 0;
            padding: 0;
        }
        div{
            margin: 30px auto;
            width: 323px;
        }
        div h1{
            text-align: center;
        }
        a{
            text-decoration: none;
            color: black;
            width: 100%;
            display: flex;
            justify-content: space-between;
        }
        li{
            border-bottom: 1px solid #dedede;
            line-height: 50px;
        }
        .time{
            display: flex;
            justify-content: flex-end;
            margin-top: 20px;
        }
    </style>
</head>
<body>
    <div>
        <h1>项目列表</h1>
        <ol>
            <li><a href="0610/index.html"><span>卖座</span> <span>-></span></a></li>
            <li><a href="0613/index.html"><span>QQ</span>  <span>-></span> </a></li>
            <li><a href="0621/index.html"><span>计算机</span>  <span>-></span></a></li>
            <li><a href="0622/index.html"><span>todo</span>  <span>-></span></a></li>
        </ol>
        <span class="time">
            <!-- moment().format('LTS');  // 16:02:18
            moment().format('L');  -->
        </span>
    </div>
</body>
<script>
    setInterval(() => {
        var span=document.querySelector('.time')
        span.innerHTML=moment().format('LTS')+'&nbsp;'+moment().format('ddd')+'<br>'+moment().format('L'); 
    }, 1000);
</script>
</html>